package org.neuedu.ssmp.crm.service.impl;

import org.neuedu.ssmp.crm.entity.Product;
import org.neuedu.ssmp.crm.mapper.ProductMapper;
import org.neuedu.ssmp.crm.service.IProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author MoonHolder
 * @since 2019-12-09
 */
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements IProductService {

    @Autowired
    private ProductMapper productMapper;
    @Override
    public List<Product> findModel() {
        return productMapper.findModel();
    }
}
